<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/jsps/common/tags.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<title>音乐在线</title>
		<%@ include file="/jsps/common/indexHeader.jsp" %>
		<%@ include file="/jsps/common/header.jsp" %>
<script type="text/javascript">
  function music(name)
        {
    		var filepath="http://localhost:8080/HustMusic"+name;
	 	//alert("filepath" + filepath);
       //location.href="<s:url action="music.action" namespace=/song"/"/>?song.filepath="+filepath;   
       var url="<s:url action="music.action" namespace="/"/>?song.filepath=" + filepath;  
      window.open (url,"newwindow","height=100,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no") ;
		 
        }
</script>
	</head>
	<body>
		   
		  <table width="600" class="sme_newul2" border="0" cellspacing="1" cellpadding="0">
		 <tr height="50px" align="center">
      <td width="8%" align="left">序号</td>
     <td width="75%" align="center">歌曲名</td>
     <td width="17%" align="left">播放</td>
     </tr>
      <s:iterator value="page.content">
     <tr height="50px" align="center">
      <td width="8%" align="left"><s:property value="id"/></td>
     <td width="75%" align="left"><a title="歌手"style="font-size:20px;color:#595959"><b>*</b></a>&nbsp&nbsp&nbsp<span style="color:#2c76c0;"><a title="<s:property value="name" />" href=""><s:property value="name" /></a>-<a title="<s:property value="singer" />"href=""><s:property value="singer" /></a></span></td>
     <td width="17%" align="left"><a title="播放" onclick="music('<s:property value="filepath"/>');"><img src="<%=request.getContextPath()%>/images/play1.gif" width="20" height="20" onmouseover="this.src='<%=request.getContextPath()%>/images/play2.gif'" onmouseout="this.src='<%=request.getContextPath()%>/images/play1.gif'"/></a><a title="收藏" href=""><img src="<%=request.getContextPath()%>/images/store1.gif" width="20" height="20" onmouseover="this.src='<%=request.getContextPath()%>/images/store4.gif'" onmouseout="this.src='<%=request.getContextPath()%>/images/store1.gif'"/></a></td>
     </tr>
     </s:iterator></table>
	 

					
					<button onclick="history.go(-1);">
						返 回
					</button>
				
	</body>
</html>
